package com.jt9003.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

public class DrugsExport {

    //id

    private Integer id;
    //出库单据号
    private String documentNo;
    //出库方
    private String outOfWarehouse;
    //接收处
    private String receivingOffice;
    //录入人
    private String entryPerson;
    //录入时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private  Date entryTime;

    //查询的开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @JSONField(format="yyyy-MM-dd")
    private  Date  startTime;
    //查询的结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @JSONField(format="yyyy-MM-dd")
    private  Date endTime;
    //单据状态
    private Integer documentStatus;

    //单据状态，来自数据字典
    private String  dictionaryData;
    //备注
    private String remarks;

    //药品名
    private String drName;
    //药品数量
    private Integer number;
    //仓库单位
    private Integer company;


    public String getDocumentNo() {
        return documentNo;
    }

    public void setDocumentNo(String documentNo) {
        this.documentNo = documentNo;
    }

    public String getOutOfWarehouse() {
        return outOfWarehouse;
    }

    public void setOutOfWarehouse(String outOfWarehouse) {
        this.outOfWarehouse = outOfWarehouse;
    }

    public String getReceivingOffice() {
        return receivingOffice;
    }

    public void setReceivingOffice(String receivingOffice) {
        this.receivingOffice = receivingOffice;
    }

    public String getEntryPerson() {
        return entryPerson;
    }

    public void setEntryPerson(String entryPerson) {
        this.entryPerson = entryPerson;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public Integer getDocumentStatus() {
        return documentStatus;
    }

    public void setDocumentStatus(Integer documentStatus) {
        this.documentStatus = documentStatus;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDictionaryData() {
        return dictionaryData;
    }

    public void setDictionaryData(String dictionaryData) {
        this.dictionaryData = dictionaryData;
    }

    public String getDrName() {
        return drName;
    }

    public void setDrName(String drName) {
        this.drName = drName;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getCompany() {
        return company;
    }

    public void setCompany(Integer company) {
        this.company = company;
    }
}